﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LienHe.aspx.cs" Inherits="WebHousingInfo.LienHe" %>
<%@ Register Src="~/Controls/Header.ascx" TagName="HD" TagPrefix="Header" %>
<%@ Register Src="~/Controls/MenuFooter.ascx" TagName="MN" TagPrefix="MenuFooter" %>
<%@ Register Src="~/Controls/Footer.ascx" TagName="FT" TagPrefix="Footer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Liên hệ</title>
    <link rel="stylesheet" type="text/css" href="css/lienhe_popup.css" /> 
</head>
<body bgcolor="#ededed">
    <form id="form1" runat="server">
    
    <div id="uni_wrapper">        
        <Header:HD ID="Header" runat="server" />
        <div id="uni_main">
             <div id="content" class="clearfix">
                 <table cellpadding="0" style="margin: 0 auto;" cellspacing="0" border="0" width="500" align="center">
                    <tr>
                        <td colspan="3">
                            <table cellpadding="0" cellspacing="0" border="0" width="100%">
                                <tr bgcolor="#ededed">
                                    <td width="19" height="19"><img src="Images/pop_top_left.gif" width="19" height="19"></td>
                                    <td class="pop_bg_top">&nbsp;</td>
                                    <td width="19" height="19"><img src="Images/pop_top_right.gif" width="19" height="19"></td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td width="8" class="pop_bg_left"><img src="images/pop_bg_left.gif" width="8" height="12"></td>
                        <td class="pop_main">
                            <table cellpadding="0" cellspacing="5" border="0" align="center" width="100%">
                                <tr>
                                    <td align="left"><img src="images/logo_edit.gif"></td>
                                    
                                </tr>
                                <tr>
                                  <td colspan="2" class="pop_line">&nbsp;</td>
                                </tr>
                                <tr>
                                    <td colspan="2" class="text_details" align="left"><b>Vui lòng nhập thông tin theo yêu cầu</b>
                                        <br>(<span class="text_red">*</span>)Thông tin bắc buộc.
                                    </td>
                                </tr>
                            </table>
                            <p style="text-align:center; color: Red; font-size:12px;"><asp:Label style="font-weight:bold;" ID="Label1" runat="server" Text=""></asp:Label></p>
                            <table cellpadding="0" cellspacing="5" border="0" align="center" width="100%">		
                                <tr>
                                    <td colspan="2">
                                        <table cellpadding="0" cellspacing="4" border="0" align="center" width="100%" class="pop_text">
                                            <form name="contactFrm" action="" method="post">
                                                <input type="hidden" name="act" value="sendcontact">
                                                <tr>
                                                    <td width="30%">Họ và Tên: <span class="text_red">*</span></td>
                                                    <td>
                                                    <asp:TextBox ID="txtname" runat="server" Height="22px" Width="260px"></asp:TextBox><br />                                            
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Nhập họ và tên" 
                                                            ControlToValidate="txtname"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>Email: <span class="text_red">*</span></td>
                                                    <td>
                                                        <asp:TextBox ID="txtemail" runat="server" Height="22px" Width="260px"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="Yêu cầu họ và tên" 
                                                            ControlToValidate="txtemail">*</asp:RequiredFieldValidator><br />
                                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" 
                                                            runat="server" ErrorMessage="Email không đúng định dạng" 
                                                            ControlToValidate="txtemail" 
                                                            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                                                    </td>
                                                </tr>
                                                 <tr>
                                                    <td width="30%">Tiêu đề: <span class="text_red">*</span></td>
                                                    <td>
                                                    <asp:TextBox ID="txttitle" runat="server" Height="22px" Width="260px"></asp:TextBox><br />                                         
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Yêu cầu tiêu đề liên hệ" 
                                                            ControlToValidate="txttitle"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>Nội dung: <span class="text_red">*</span></td>
                                                    <td>
                                                        <asp:TextBox ID="txtcontent" TextMode="MultiLine" runat="server" Width="260px" Height="115px"></asp:TextBox><br />
                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Yêu cầu nội dung cần liên hệ" ControlToValidate="txtcontent"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>&nbsp;</td>
                                                    <td>
                                                        <asp:Button ID="btnsend" OnClick="btnsend_Click" runat="server" Text="Gửi Liên Hệ" />
                                                        <asp:Button ID="btncancel" OnClick="btncancel_Click" CausesValidation="false" runat="server" 
                                                            Text="Về Trang Chủ" />							  
        									            
                                                    </td>
                                                </tr>
                                            </form>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td width="8" class="pop_bg_right"><img src="images/pop_bg_right.gif" width="8" height="12"></td>
                    </tr>
                    <tr>
                        <td colspan="3">
                        <table cellpadding="0" cellspacing="0" border="0" width="100%">
                            <tr>
                                <td width="19" height="19"><img src="images/pop_foot_left.gif" width="19" height="19"></td>
                                <td class="pop_bg_foot">&nbsp;</td>
                                <td width="19" height="19"><img src="images/pop_foot_right.gif" width="19" height="19"></td>
                            </tr>
                        </table>
                        </td>
                    </tr>
                </table>
                 
            </div>
        </div>
         <MenuFooter:MN ID="MenuFooter" runat="server" />
         <Footer:FT ID="Footer" runat="server" />
    </div>
    </form>
</body>
</html>
